print("Test1 prototype loading...")
print("Trying to inherit...")
inherit("AbstractObject")
print("Done inheriting...")

function init(self)
  print("Test1 init!")
  _G.print("Does this print [test1] work?")
  self.str = "hi"
end

function update(self, dt)
  --print("Test1 update!")
end

function teapot(self, str)
  print("Teapot: " .. self.str)
  self.str = str
end

function barpot(self)
  self:teapot("barbarbar")
end